import { API_URL } from "./config.js";

module.exports = {
  //授权
  WxAuth: API_URL + "/wx/oauth_mini",

  WxWash: API_URL + "/washer/wash_mini",

  //发起支付 /wx/pay?mode=${mode}
  // WxPay: API_URL + '/wx/pay',
  WxPay: API_URL + `/wx/pay_mini`,

  //支付回调
  WxPayNotify: API_URL + "/wx/paynotify",
  //余额
  WxBalance: API_URL + "/wx/balance",

  //消费用户
  EndUserSearch: API_URL + "/enduser/search",

  //洗衣机设备 /washer/search?work_state=${work_state}&device_state=${device_state}
  Washersearch: API_URL + `/washer/search`,

  //洗衣模式 /washmode/search?washertype_id=${washertype_id}&customer_id=${customer_id}
  WasherMode: API_URL + `/washmode/search`,

  //订单 /order/search?enduser_id=${enduser_id}&order_state=${order_state}
  Order: API_URL + `/order/search`
};
